package com.notecalendar.dao;

import java.util.List;

import com.notecalendar.model.Notes;

/**
 * Interface for defining methods for bean model Notes
 * @author angelcereijo
 *
 */
public interface NotesDao{
	/**
	 * Add a note in database
	 * @param notes
	 */
	Notes addNote(Notes notes);
	
	/**
	 * Remove a note form database
	 * @param notes
	 */
	void delelteNote(Notes notes);
	
	/**
	 * Return list of notes from database
	 * @return list of notes
	 */
	List<Notes> getNotes();
}
